﻿using System.Diagnostics.CodeAnalysis;

namespace Admin.CommonLib.Models.Permission
{
    public class PermissionEditRequestDto
    {
        [NotNull]
        public string? Code { get; set; }

        [NotNull]
        public string? Name { get; set; }

        [NotNull]
        public string? PermissionType { get; set; }

        public Guid? ParentId { get; set; }

        public string? ParentName { get; set; }

        public string? Icon { get; set; }

        public int Sort { get; set; }

        public string? Url { get; set; }

        public string? Description { get; set; }
    }
}